package com.dreamcar.inventory.ws;

import javax.ejb.Stateless;
import javax.jws.WebService;

import com.dreamcar.inventory.model.RequestDTO;


@WebService
@Stateless
public class Inventory {
	
	public boolean validateRequest(RequestDTO request){
		if(request.getQuantity()==0){
			return false;
		}
		return true;
	}
	
	public RequestDTO scheduleWorkInFactory(RequestDTO request){
		
//		Se programa trabajo en fabrica
//		Se genera un id de la operacion
		return request;
		
	}

}
